{% import "include/my-function.twig" as functions %}

{{ functions.foo(hook.object) }}
